package com.moorwind.chartservice.data
{
	public class ChartResultVO
	{
		public var charts:Array;
		public var isError:Boolean = false;
		public var errorMsg:String;
		
		public function ChartResultVO(charts:Array, isError:Boolean = false, errorMsg:String = "")
		{
			this.charts = charts;
			this.isError = isError;
			this.errorMsg = errorMsg;
		}
		
		public function toString():String
		{
			if(charts)
			{
				return "[object GameChartData length=" + charts.length + "]"
			}
			else
			{
				return "[object GameChartData isError=true]"
			}
		}

	}
}